export const DISTRIB_TABLE_COLUMNS = [
    {
      label: "编号",
      prop: "id",
      key: "id",
      align: "left",
      minWidth: "50"
    },
    {
      label: "推广商",
      prop: "username",
      key: "username",
      align: "left",
      minWidth: "80"
    },
    {
      label: "充值金额",
      prop: "ordermoney",
      key: "ordermoney",
      align: "right",
      sortable: "custom",
      minWidth: "85"
    },
    {
      label: "分成金额",
      prop: "money",
      key: "money",
      align: "right",
      minWidth: "80"
    },
    {
      label: "分成比例",
      prop: "settlementpercent",
      key: "settlementpercent",
      // sortable: "custom",
      align: "right",
      minWidth: "90"
    },
    {
      label: "已结算金额",
      prop: "settlementmoney",
      key: "settlementmoney",
      sortable: "custom",
      align: "right",
      minWidth: "100"
    },
    {
      label: "可结算金额",
      prop: "cansettlementmoney",
      key: "cansettlementmoney",
      sortable: "custom",
      align: "right",
      minWidth: "100"
    },
    {
      label: "约定结算日",
      prop: "appointedsettlement",
      key: "appointedsettlement",
      align: "left",
      minWidth: "80"
    },
    {
      label: "实际结算时间",
      prop: "settlementat",
      key: "settlementat",
      sortable: "custom",
      align: "left",
      minWidth: "110"
    },
    {
      label: "结算状态",
      prop: "settlementstatus",
      key: "settlementstatus",
      align: "left",
      minWidth: "80"
    },
    {
      label: "分成状态",
      prop: "distribstatus",
      key: "distribstatus",
      align: "left",
      width: "100"
    },
    {
      label: "操作",
      prop: "action",
      key: "action",
      align: "left",
      fixed: "right",
      width: "120"
    }
  ];
export const DETAILLIST_TABLE_COLUMNS = [
    {
      type: 'selection',
      minWidth: "80"
    },
    {
      label: "编号",
      prop: "id",
      key: "id",
      align: "left",
      minWidth: "80"
    },
    {
      label: "结算周期",
      prop: "attime",
      key: "attime",
      align: "left",
      minWidth: "200"
    },
    {
      label: "充值金额",
      prop: "ordermoney",
      key: "ordermoney",
      align: "left",
      minWidth: "80"
    },
    {
      label: "分成金额",
      prop: "money",
      key: "money",
      align: "left",
      minWidth: "80"
    },
    {
      label: "调账后分成金额",
      prop: "adjuestmoney",
      key: "adjuestmoney",
      align: "left",
      minWidth: "80"
    },
    {
      label: "结算时间",
      prop: "settleat",
      key: "settleat",
      align: "left",
      minWidth: "120"
    },
    {
      label: "结算状态",
      prop: "settlestat",
      key: "settlestat",
      align: "left",
      minWidth: "100"
    },
    {
      label: "备注",
      prop: "remark",
      key: "remark",
      align: "left",
      minWidth: "80"
    },
    {
      label: "操作",
      prop: "action",
      key: "action",
      align: "left",
      fixed: "right",
      width: "120"
    }
  ];
  export const DETAILLISTROW_TABLE_COLUMNS = [
    {
      label: "调账时间",
      prop: "settleat",
      key: "settleat",
      align: "left",
      minWidth: "120"
    },
    {
      label: "调账后分成金额",
      prop: "adjuestmoney",
      key: "adjuestmoney",
      align: "center",
      minWidth: "100"
    },
    {
      label: "操作人",
      prop: "createdbyname",
      key: "createdbyname",
      align: "center",
      minWidth: "100"
    },
    {
      label: "备注",
      prop: "remark",
      key: "remark",
      align: "left",
      minWidth: "200"
    }
  ];
  export const ORDER_TABLE_COLUMNS = [
    {
      label: "订单编号",
      prop: "orderid",
      key: "orderid",
      align: "left",
      minWidth: "80"
    },
    {
      label: "付款方式",
      prop: "paymethod",
      key: "paymethod",
      align: "left",
      minWidth: "80"
    },
    {
      label: "游戏分区",
      prop: "gameservername",
      key: "gameservername",
      align: "left",
      minWidth: "80"
    },
    {
      label: "充值账号",
      prop: "accountid",
      key: "accountid",
      align: "left",
      minWidth: "80"
    },
    {
      label: "充值金额",
      prop: "money",
      key: "money",
      sortable: "custom",
      align: "left",
      minWidth: "80"
    },
    {
      label: "充值时间",
      prop: "payat",
      key: "payat",
      sortable: "custom",
      align: "left",
      minWidth: "120"
    },
    {
      label: "订单状态",
      prop: "orderstatus",
      key: "orderstatus",
      align: "left",
      minWidth: "80"
    },
    {
      label: "操作",
      prop: "action",
      key: "action",
      align: "left",
      fixed: "right",
      minWidth: "80"
    }
  ];
  export const OPERATION_TABLE_COLUMNS = [
    {
      label: "操作时间",
      prop: "settleat",
      key: "settleat",
      align: "left",
      minWidth: "120"
    },
    {
      label: "操作类型",
      prop: "adjuestmoney",
      key: "adjuestmoney",
      align: "left",
      minWidth: "100"
    },
    {
      label: "金额",
      prop: "createdname",
      key: "createdname",
      align: "left",
      minWidth: "80"
    },
    {
      label: "操作人",
      prop: "createdbyname",
      key: "createdbyname",
      align: "left",
      minWidth: "80"
    },
    {
      label: "备注",
      prop: "remark",
      key: "remark",
      align: "left",
      minWidth: "200"
    }
  ];
  export const EARNING_TABLE_COLUMNS = [
    {
      label: "结算时间",
      prop: "settleat",
      key: "settleat",
      sortable: "custom",
      align: "left",
      minWidth: "120"
    },
    {
      label: "结算周期",
      prop: "attime",
      key: "attime",
      align: "left",
      minWidth: "200"
    },
    {
      label: "充值金额",
      prop: "ordermoney",
      key: "ordermoney",
      sortable: "custom",
      align: "left",
      minWidth: "80"
    },
    {
      label: "结算比例",
      prop: "percent",
      key: "percent",
      align: "left",
      minWidth: "80"
    },
    {
      label: "结算金额",
      prop: "settledmoney",
      key: "settledmoney",
      sortable: "custom",
      align: "left",
      minWidth: "80"
    },
    {
      label: "结算备注",
      prop: "remark",
      key: "remark",
      align: "right",
      minWidth: "200"
    }
  ];
export const DETILEEARNING_TABLE_COLUMNS = [
  {
    label: "调账时间",
    prop: "settleat",
    key: "settleat",
    align: "left",
    minWidth: "120"
  },
  {
    label: "预计结算金额",
    prop: "money",
    key: "money",
    align: "center",
    minWidth: "90"
  },
  {
    label: "调账后结算金额",
    prop: "adjuestmoney",
    key: "adjuestmoney",
    align: "center",
    minWidth: "100"
  },
  {
    label: "操作人",
    prop: "createdbyname",
    key: "createdbyname",
    align: "center",
    minWidth: "80"
  },
  {
    label: "备注",
    prop: "remark",
    key: "remark",
    align: "left",
    minWidth: "120"
  },
]

export const ORDEROPLIST_TABLE_COLUMNS = [
  {
    label: "操作时间",
    prop: "opat",
    key: "opat",
    align: "left",
    minWidth: "120"
  },
  {
    label: "操作类型",
    prop: "orderstatus",
    key: "orderstatus",
    align: "center",
    minWidth: "90"
  },
  {
    label: "金额",
    prop: "orderId",
    key: "orderId",
    align: "center",
    minWidth: "100"
  },
  {
    label: "操作人",
    prop: "created_by",
    key: "created_by",
    align: "center",
    minWidth: "80"
  },
  {
    label: "备注",
    prop: "remark",
    key: "remark",
    align: "left",
    minWidth: "120"
  },
]
//   select option
export const DISTRIB_STATUS_OPTIONS = [
    {
      id:"",
      name: "分成状态：全部",
      label: "全部"
    },
    {
      id: 1,
      name: "分成状态：正常",
      label: "正常"
    },
    {
      id: 2,
      name: "分成状态：已过期",
      label: "已过期"
    }
]
export const SETTLEMENT_STATUS_OPTIONS = [
    {
      id:"",
      name: "结算状态：全部",
      label: "全部"
    },
    {
      id: 1,
      name: "结算状态：正常",
      label: "正常"
    },
    {
      id: 2,
      name: "结算状态：冻结",
      label: "冻结"
    }
]

export const SETTLEMENT_DETAIL_STATUS_OPTIONS = [
  {
    id:"",
    name: "结算状态：全部",
    label: "全部"
  },
  {
    id: 0,
    name: "结算状态：未结算",
    label: "未结算"
  },
  {
    id: 1,
    name: "结算状态：已结算",
    label: "已结算"
  }
]
export const TIME_LIST = [
  {
    id: 1,
    name: "今日"
  },
  {
    id: 2,
    name: "昨日"
  },
  {
    id: 3,
    name: "近7日"
  },
  {
    id: 4,
    name: "近1个月"
  },
  {
    id: 5,
    name: "近3个月"
  }
];
export const ORDER_STATUS_OPTIONS = [
  {
    id:"",
    name: "订单状态：全部",
    label: "全部"
  },
  {
    id: 0,
    name: "订单状态：正常",
    label: "正常"
  },
  {
    id: 1,
    name: "订单状态：已退款",
    label: "已退款"
  }
]
